/**
 * class Button
 * Gestion des boutons simple sans icônes
 **/
.button{
	cursor:			pointer;
	position:		relative;
	padding:		0px;
	margin:			0px;
	display:		inline-block;
	text-align:		center;
	font-size:		10px;
	font-family:	Arial, Helvetica, sans-serif;
	text-shadow: 	0 -1px 0 #444;
	background: 	url(sources/button-bg.png) repeat-x #4a6c9b;
	border:			1px solid #303842;
	min-height:		27px;
	line-height:	27px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding-left:5px;
	padding-right:5px;
}
.button .back-f{
	position:	absolute;
	top:		0px;
	left:		-12px;
	height:		30px;
	width:		15px;
	background: url(sources/back.png) repeat-x 0px -1px;
}

.button a{
	color:#fff;
	text-decoration:none;
}

.button:hover, .button-selected{
	border:1px solid #492221;
	background: 	url(sources/button-bg-red.png) repeat-x #c92a29;
}

.button:hover .back-f{
	background: url(sources/back-red.png) repeat-x 0px -1px;
}

/**
 * class BackButton
 * Gestion des boutons de retour.
 **/
.back-button{
	margin-left:13px;
}
.button .back-f{
	position:	absolute;
	top:		0px;
	left:		-12px;
	height:		30px;
	width:		15px;
	background: url(sources/back.png) repeat-x 0px -1px;
}
/**
 * class LargeButton
 **/
.large-button{
	cursor:			pointer;
	display:		inline-block;
	height:			45px;
	width:			64px;
	text-align:		center;
	margin-left:	1px;
	margin-right:	1px;
	border:			1px solid transparent;
}
.large-button:hover, .large-button-selected{
	background:url(sources/large-button-bg.png) repeat-x;
	border:1px solid #b3b3b3;	
}
.large-button .icon{
	height:30px;
	background-position:center;
	background-repeat:no-repeat;
	margin-bottom:2px;
}
.large-button .text-button{
	text-align:		center;
	font-size:		10px;
	font-family:	Arial, Helvetica, sans-serif;
	text-shadow: 	0 -1px 0 #444;	
	line-height:	normal;
}
/**
 * class AppButton
 * Button de menu pour les applications
 **/
.app-button{
	display:		inline-block;
	margin:			20px;
	margin-bottom:	0px;
	cursor:			pointer;
	text-align:		center;
	display:		inline-block;
}
.app-button .content-icon-button{
	position: 		relative;
	cursor:			pointer;
	height:			55px;
	width:			55px;
	text-align:		center;
	margin-left:	1px;
	margin-right:	1px;
	border:			1px solid #6e6e6e;
	background:url(sources/app-button-bg.png) repeat-x;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	margin-bottom:10px;
}

.app-button:hover .content-icon-button, .app-button-selected .content-icon-button{
	background:url(sources/app-button-bg-over.png) repeat-x;
}

.app-button .content-icon-button .icon, .app-button .content-icon-button .mask-button{
	position:	absolute;
	top:		0px;
	left:		0px;
	height:		55px;
	width:		55px;
	background-position:center;
	background-repeat:no-repeat;
	
}
.app-button .content-icon-button .mask-button{
	background:url(sources/app-button-mask.png) no-repeat;	
}
.app-button .app-text{
	color:			white;
	width:			55px;
	text-align:		center;
	font-size:		11px;
	font-family:	Arial, Helvetica, sans-serif;
	text-shadow: 	0 -1px 0 #444;	
	line-height:	normal;
	white-space:	nowrap;
	word-spacing:	normal;
}
/**
 * class IconButton
 * 
 **/
.icon-button{
	min-width:32px;
	min-height:32px;
	display:inline-block;
	background-repeat:none;
	background-position:center; 
}
/**
 * class SwitchButton
 **/
.switch-button{
	position:relative;
	font-size:		16px;
	font-family:	'WTF', Arial;
	font-weight:	bold;
	display:		inline-block;
	-moz-border-radius:	5px;
	-webkit-border-radius:5px;
	border-radius:		5px;
	cursor:			pointer;
	-moz-user-select:	none;
	-webkit-user-select:none;
	user-select:		none;	
}
.switch-button .part-yes, .switch-button .part-no{
	display:		inline-block;
	overflow:		hidden;
	line-height:	25px;
	padding-left:	10px;
	padding-right:	10px;
	width:			72px;
}
.switch-button .part-no{
	text-align:		right;
	color:			#8b8b8b;
	border:			1px solid #919191;
	background: 	url(sources/switch-bg-2.png);
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
	border-radius: 5px; 
}
.switch-button .part-yes{
	display:		none;
	text-align:		left;
	color:			white;
	text-shadow: 	0 -1px 0 #444;
	border:			1px solid #0a3a8a;
	background: 	url(sources/switch-bg-1.png);
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.switch-button .cursor{
	position:	absolute;
	top:		0px;	
	height:		25px;
	width:		38px;
	background:	url(sources/switch-bg-3.png) repeat-x;
	border:		1px solid #999;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
}

.switch-yes .part-yes{
	display:block;
}
.switch-yes .part-no{
	display:none;
}
.switch-no .part-no{
	display:block;
}
.switch-no .part-yes{
	display:none;
}
.switch-yes .cursor{
	right: 	0px;
}
.switch-no .cursor{
	left:	0px;
}